import { defHttp } from '@/utils/http/axios'

enum Api {
  GET_PRODUCTION_DATA = '/producion/completercv/dateCount',
  GET_OUTPUT_DATA = '/producion/ship/dateCount',
  GET_EFFCIENCY_DATA = '/producion/completercv/dateRateCount',
}

export const getProductionData = (params) => defHttp.get({ url: Api.GET_PRODUCTION_DATA, params })
export const getOutputData = (params) => defHttp.get({ url: Api.GET_OUTPUT_DATA, params })
export const getEffciencyData = (params) => defHttp.get({ url: Api.GET_EFFCIENCY_DATA, params })
